﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace GoFishWeb.Models
{
    public class GoFishMove
    {
        public GoFishMove()
        {
            // needed for entity framework.  Must be no parameters and can not be private
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Required]
        public string Description { get; set; }

        [Required]
        public DateTime OccurredOn { get; set; }

        public virtual GoFishGame Game { get; set; }
    }
}